export const searchColumns = [
  {
    label: '询价单号',
    width: 'auto',
    prop: 'number',
    fixed: true
  },
  {
    label: '询价标题',
    width: 'auto',
    prop: 'title',
    fixed: true
  },
  {
    label: '采购组织',
    width: 'auto',
    prop: 'purchaseOrg',
    fixed: true
  },
  {
    label: '开始时间',
    width: 'auto',
    prop: 'beginDate'
  },
  {
    label: '结束时间',
    width: 'auto',
    prop: 'endDate'
  },
  {
    label: '状态',
    width: 'auto',
    prop: 'state'
  }
]

export const searchActions = [
  {
    key: 'quote',
    text: '报价'
    // permissions: 'source:enquiry:quote'
  }
]

export const pricingColumns = [
  {
    label: '定价单号',
    prop: 'number',
    fixed: true
  },
  {
    label: '询价标题',
    prop: 'enquiryTitle'
  },
  {
    label: '询价单号',
    prop: 'enquiryNumber'
  },
  {
    label: '采购组织',
    prop: 'purchaseOrg',
    width: 'auto'
  },
  {
    label: '状态',
    prop: 'state',
    width: 120
  }
]

export const pricingActions = [
  {
    key: 'view',
    text: '查看'
  },
  {
    key: 'agree',
    text: '确认'
  }
]

export const orderColumns = [
  {
    label: '采购单号',
    prop: 'number',
    fixed: true
  },
  {
    label: '采购组织',
    prop: 'purchaseOrg'
  },
  {
    label: '需求总数量',
    prop: 'totalQuantity'
  },
  {
    label: '含税总金额/元',
    prop: 'totalAmount',
    width: 'auto'
  },
  {
    label: '状态',
    prop: 'state',
    width: 120
  }
]

export const orderActions = [
  {
    key: 'view',
    text: '查看'
  },
  {
    key: 'agree',
    text: '确认'
  }
]
